home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / animatn / winflic / wfman.txt next >
Text File  |  1996-02-08  |  5KB  |  157 lines

  1. ----------------------------------------------------------------------
  2. WinFlic V1.2, a windows FLI/FLC player for Visual Basic.
  3. (C)1995/1996 R.S.Plieger.
  4. ----------------------------------------------------------------------
  5.  
  6. Changes update V1.1 15/8/1995
  7.     You can now also play FLC animation files. FLI files have a
  8.     fixed resolution of 320x200, whereas FLC files can have higher
  9.     resolutions. Also new is the Stretch property so now you can
  10.     play an animation in the size you want.
  11.     Remember to copy winflic.vbx to your windows system directory,
  12.     or else it won't work!
  13.  
  14. Changes update V1.2 8/2/1996
  15.     A few bugs in the stretch function and in the decode routines
  16.     have been corrected.
  17. ----------------------------------------------------------------------
  18.  
  19. This software is shareware. This means that you can use this software
  20. in your programs, but you may not sell it, or sell software using this
  21. software, unless you have written permission by the author. You may
  22. distribute this software, but only in its original form, that is
  23. including this manual. If you like this software and want to use it,
  24. please register and send a cheque of US $15 to:
  25.  
  26.     R.S.Plieger
  27.     Frans van Mierisstraat 29
  28.     9718 SP Groningen
  29.     The Netherlands
  30.  
  31. ----------------------------------------------------------------------
  32.  
  33. With this software you can play FLI and FLC files in your Visual Basic
  34. programs, you can even create bitmaps from your (or someone elses)
  35. animations using the Picture property. Also you can define the height,
  36. width and location of this bitmap defined by the Picture property.
  37. This property can also be used to copy a frame or part of a frame to a
  38. Visual Basic image object.
  39.  
  40. To install this utility, copy 'winflic.vbx' to your windows system
  41. directory, so Visual Basic can always find it. You can install it in
  42. your project by selecting 'Add file...' under 'File' and then select
  43. 'winflic.vbx' in your windows system directory. A new object icon will
  44. appear, and when you select it, you can draw a FLIC object on the form.
  45. This will behave like any other Visual Basic object and in the
  46. properties window you can define the various properties for playing a
  47. FLI/FLC file.
  48.  
  49. ----------------------------------------------------------------------
  50.  
  51. A short description of the properties:
  52.  
  53. (About)        (...)
  54.  
  55. Animate        this property will start or stop the animation during
  56.         runtime; during design time you can set the value to
  57.         True, this causes the animation to start immediately
  58.         after you started your program
  59.  
  60. CurFrame    the current frame in the animation; this property can
  61.         also be used to set the actual framenumber!
  62.  
  63. Disk        if this value is set to True, the animation will be
  64.         played from disk; the animationfile can be very big,
  65.         but the animation can be less smooth depending on the
  66.         speed of your harddisk
  67.  
  68. DragIcon    a standard property
  69.  
  70. DragMode    another standard property
  71.  
  72. FileName    this is the filename of the animationfile you want to
  73.         show (only checked for existence during runtime)
  74.  
  75. Frames        a readonly property showing the number of frames in
  76.         the animation
  77.  
  78. Height        a standard property
  79.  
  80. Index        a standard property
  81.  
  82. Left        a standard property
  83.  
  84. Loop        set to True, is causes the animation to repeat
  85.  
  86. MousePointer    a standard property
  87.  
  88. Name        the name of the object
  89.  
  90. Picture        (only available at runtime) this can be used to create
  91.         bitmaps using the SavePicture statement, you can copy
  92.         the current frame of the animation to an image object,
  93.         etc... Using PictureH, PictureW, PictureX and PictureY
  94.         you can define a rectangular area that can be copied or
  95.         saved using the Picture property.
  96.  
  97. PictureH    the height of the Picture area (0=total height)
  98.  
  99. PictureW    the width of the Picture area (0=total width)
  100.  
  101. PictureX    the left position of the Picture area
  102.  
  103. PictureY    the top position of the Picture area
  104.  
  105. Speed        the speed of the animation; initialy this value is
  106.         set by the animationspeed value defined in the
  107.         animationfile, but can be changed afterwards
  108.  
  109. Stretch        when set to True, the animation will be stretched to
  110.         the size of the object window (it doesn't affect the
  111.         Picture property)
  112.  
  113. Tag        a standard property
  114.  
  115. Top        a standard property
  116.  
  117. Visible        a standard property
  118.  
  119. Width        a standard property
  120.  
  121. ----------------------------------------------------------------------
  122.  
  123. Messages:
  124.  
  125. A lot of standard messages
  126.  
  127. NextFrame    indicates that a new frame has been drawn; FrameNr is
  128.         an integer with the new framenumber
  129. ----------------------------------------------------------------------
  130.  
  131. Ok, these were the properties & messages defined in this module, and it
  132. shouldn't be to hard to get the hang of it. One remark about colors:
  133. FLI animation files use 256 colors, so you'll have to have at least 256
  134. colors available to play a FLI correctly; there is however a problem
  135. when using two WinFlic objects in your program at the same time with
  136. two different animation files and windows running under 256 colors. In
  137. this case you should try using windows with 32K colors or more (and
  138. you'll need a very fast machine) ...
  139.  
  140. This is it, I hope you'll enjoy this piece of software and will respect
  141. the rules of shareware, so you will be paid when you will write a piece
  142. of shareware...
  143.  
  144.  
  145. Groningen, 8/2/1996
  146.  
  147. R.S.Plieger
  148. Postbus 70230
  149. 9704 AE Groningen
  150. The Netherlands
  151.  
  152.  
  153. If you have any suggestions, please mail:
  154.  
  155. e-mail: plieger@bnc.nl
  156.  
  157.